import "./App.css";
import { Outlet, Link } from "react-router-dom";
import { UserOutlined } from "@ant-design/icons";

function App() {
  return (
    <div className="app">
      <div className="app_header">
        <h1>聊天室系统</h1>
        <Link to={'/update_info'}><UserOutlined className="app_header_icon" /></Link>
      </div>
      <div className="app_body">
        <Outlet></Outlet>
      </div>
    </div>
  )
}

export default App
